    package com.school.entity;

    public class Course {
	    // private属性：仅本类可见
	    private String courseId;
	    private String courseName;
	    private String location;
	    private String time;
	    private String teacherId;

	    // 带参构造方法
	    public Course(String courseId, String courseName, String location, String time, String teacherId) {
	        this.courseId = courseId;
	        this.courseName = courseName;
	        this.location = location;
	        this.time = time;
	        this.teacherId = teacherId;
	    }

	    // Getter方法（public：跨包可见，供测试类访问）
	    public String getCourseId() {
	        return courseId;
	    }

	    public String getCourseName() {
	        return courseName;
	    }

	    public String getLocation() {
	        return location;
	    }

	    public String getTime() {
	        return time;
	    }

	    public String getTeacherId() {
	        return teacherId;
	    }
	}
